home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / devices / timer.h < prev    next >
C/C++ Source or Header  |  1989-11-05  |  429b  |  21 lines

  1. #ifndef    DEVICES_TIMER_H
  2. #define    DEVICES_TIMER_H
  3. #ifndef    EXEC_IO_H
  4. #include    "exec/io.h"
  5. #endif    /* EXEC_IO_H */
  6. #define    UNIT_MICROHZ    0L
  7. #define    UNIT_VBLANK    1L
  8. #define    TIMERNAME    "timer.device"
  9. struct    timeval    {
  10. ULONG    tv_secs;
  11. ULONG    tv_micro;
  12. };
  13. struct    timerequest    {
  14. struct    IORequest    tr_node;
  15. struct    timeval    tr_time;
  16. };
  17. #define    TR_ADDREQUEST    CMD_NONSTD
  18. #define    TR_GETSYSTIME    (CMD_NONSTD+1)
  19. #define    TR_SETSYSTIME    (CMD_NONSTD+2)
  20. #endif
  21.